package pri.damai.xiaowu.seckilling.server.config;

import feign.Feign;
import feign.okhttp.OkHttpClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 *
 *
 * @description
 * @author YangXinFu
 * @date 15:07 2022/8/5
 **/
@Configuration
public class FeignConfig {

    //@Bean
    public Feign feign() {
        return Feign.builder().client(new OkHttpClient()).build();
    }

}
